package indi.matcha.csmallproducttest.mapper;

import indi.matcha.csmallproducttest.pojo.vo.PmsAlbumStandardVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @program: csmall-product
 * @description: 相册(PmsAlbum)接口类
 * @author: Mr.Tang
 * @create: 2023-03-20 19:19
 **/
@Repository
public interface PmsAlbumMapper {
    int countByName(String name);

    int countByNameAndNotId(@Param("id")Long id,@Param("name")String name);

    PmsAlbumStandardVO getStandardById(Long id);
}
